package com.jumi.microservice.common.core.annotation;

import java.lang.annotation.*;

/**
 * - - - - - - - - - - - - - - -
 * 实体字段注释注解
 * @author liuz
 * @date 2020/7/23 14:02
 * ToDoSomeThing
 * - - - - - - - - - - - - - - -
 */
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.FIELD, ElementType.ANNOTATION_TYPE})
public @interface ColumnComment {

    /**
     * 字段注释
     * @return
     */
    String name() default "";

    /**
     * 数据库字段
     * @return
     */
    String column() default "";

}
